using System;
using System.Collections.Generic;
using System.Text;

namespace ShopModel
{
    [Serializable]
    public class Invoice
    {
        private int _IDinvoice;
        private string _InvoiceNumber;
        private DateTime _InvoiceDate;
        private string _PKWiU;
        private DateTime _PaymentDeadline;
        private string _PaymentType;

        public Invoice(int IDinvoice, string InvoiceNumber, DateTime InvoiceDate, string PKWiU, DateTime PaymentDeadline, string PaymentType)
        {
            _IDinvoice = IDinvoice;
            _InvoiceNumber = InvoiceNumber;
            _InvoiceDate = InvoiceDate;
            _PKWiU = PKWiU;
            _PaymentDeadline = PaymentDeadline;
            _PaymentType = PaymentType;
        }

        public int IDinvoice
        {
            get { return _IDinvoice; }
        }
        public string InvoiceNumber
        {
            get { return _InvoiceNumber; }
            set { _InvoiceNumber = value; }
        }
        public DateTime InvoiceDate
        {
            get { return _InvoiceDate; }
            set { _InvoiceDate = value; }
        }
        public string PKWiU
        {
            get { return _PKWiU; }
            set { _PKWiU = value; }
        }
        public DateTime PaymentDeadline
        {
            get { return _PaymentDeadline; }
            set { _PaymentDeadline = value; }
        }
        public string PaymentType
        {
            get { return _PaymentType; }
            set { _PaymentType = value; }
        }
    }
}
